<?php

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/8/22
 * Time: 19:00
 */
class 字符串函数strstrltrim
{

}
$url = 'sales@example.com';
//移除字符串左侧的字符：
echo ltrim(strstr($url, '@'),'@');


echo strstr("Hello world!","world");  // 输出 world!